<?php
$kevinJsonStr = '{"name" : ' . 
		'{ "first name" : "Kevin",' .
		'"last name" : "Zhang"},' .
		'"age" : "41"}';

printf("%s\n", $kevinJsonStr);

$kevinObj = json_decode($kevinJsonStr);
printf("obj dump: %s\n", var_export($kevinObj, true));

$kevinArray = json_decode($kevinJsonStr, true);
printf("array dump: %s\n", var_export($kevinArray, true));
?>
